Guild icon
S3Drive
Community / support / Local Endpoint
Avatar
Coldstorageunit 12/7/2024 8:19 PM
Can i point to a local address for my S3 endpoint when setting up S3Drive?
Avatar
Avatar
Coldstorageunit
Can i point to a local address for my S3 endpoint when setting up S3Drive?
Yes, you totally can. Since by default we assume https protocol, if you would like to use http, that would be e.g. http://12.34.56.78 for an IP address or http://mylocalend.point if you have a hostname configured in your network. If you need custom port, then you can add it e..g like this: http://your.minio.instance:9000 Finally, you can use self-signed SSL certificate for your local endpoint which doesn't necessarily need to be trusted by official Certificate Authority, but you would need to import such certificate to the S3Drive app (option in the settings).
Avatar
Coldstorageunit 12/7/2024 8:37 PM
I get this XML parser error when trying to connect via local ip
Avatar
It seems that your endpoint might not actually return proper S3 response. If you copy & paste that address in your browser what do you get? What OS are you running S3Drive on by the way? Is that macOS if I remember correctly? (edited)
Avatar
Coldstorageunit 12/7/2024 8:40 PM
Right, so it seems i need to specify https and then that address connects fine on my browser. I get a handshake error in S3Drive though
Avatar
Avatar
Coldstorageunit
Right, so it seems i need to specify https and then that address connects fine on my browser. I get a handshake error in S3Drive though
In such case your endpoint is likely running self-signed cert. You need to import it to S3Drive in order to whitelist it, it's a security feature. More on that here: https://docs.s3drive.app/setup/self-signed-ssl/#example-certificate BTW. I assume that your browser also warns you regarding the SSL certificate?
Personal storage compatible with S3, WebDav and 70+ other Rclone back-ends
Avatar
Coldstorageunit 12/7/2024 8:42 PM
Oh right, I think I did do that at one point. And yes, believe i had to dismiss a warning when connecting originally. I'll check that link out.
8:42 PM
Thanks!
Avatar
Avatar
Coldstorageunit
Oh right, I think I did do that at one point. And yes, believe i had to dismiss a warning when connecting originally. I'll check that link out.
If you have some issues getting your cert out of the endpoint and converting to PEM (so it can be imported), the alternative is to generate trusted Let's Encrypt certificate (it's free), as long as you have some domain that you own. There are many website where you can generate one. You would be asked to add some DNS record to your domain as a proof of ownership, in return you will get your SSL signed. You don't need your endpoint to be public, you can either point your domain to: 192.168.7.25 or you can add an entry in: /etc/hosts , so only your OS maps domain name to a specific IP address. (edited)
Avatar
Coldstorageunit 12/7/2024 9:05 PM
Perfect, thanks Tom!
Exported 10 message(s)
Timezone: UTC+0